<?php

namespace app\admin\model;

use app\common\model\Admin;

class Order extends Admin
{
    protected $autoWriteTimestamp = 'datetime';
    public function gl()
    {
        return $this->belongsTo('product');
    }
    public function user()
    {
        return $this->belongsTo('user');
    }
}
